var click = false;

function textarea_focus(){
    var txt = document.getElementById("txtarea");
    var submit_form = document.getElementById("submit_form");
    if(!click){
        txt.value = "";
        txt.style.height = "200px";
        submit_form.style.display = "inline-block";
        document.getElementById("reset_txtarea").style.display = "inline-block";
        click = true;
    }
}

function textarea_reset(){
    click = false;
    submit_form.style.display = "none";
        document.getElementById("reset_txtarea").style.display = "none";
    document.getElementById("txtarea").style.height = "2.5em";
}